package com.gitee.jmash.rbac.model;

import java.util.UUID;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;

/** 创建令牌请求Model. */
public class TokenAuthzCodeReq {

  /** 账号ID. */
  @NotNull
  private UUID userId;
  /** 客户端ID. */
  @NotBlank
  private String clientId;
  /** 统一身份ID. */
  private String unifiedId;
  /** 个人信息存储区. */
  private String storage;
  /** 重定向 URI . */
  @NotBlank
  private String redirectUri;
  /** 授权范围. */
  private String scope;
  /** 发行机构 . */
  private String issuer;
  /** 认证主体 . */
  private String subject;

  public UUID getUserId() {
    return userId;
  }

  public void setUserId(UUID userId) {
    this.userId = userId;
  }

  /** 客户端ID(ClientId). */
  public String getClientId() {
    return clientId;
  }

  /** 客户端ID(ClientId). */
  public void setClientId(String clientId) {
    this.clientId = clientId;
  }
  
  public String getUnifiedId() {
    return unifiedId;
  }

  public void setUnifiedId(String unifiedId) {
    this.unifiedId = unifiedId;
  }

  public String getStorage() {
    return storage;
  }

  public void setStorage(String storage) {
    this.storage = storage;
  }

  public String getRedirectUri() {
    return redirectUri;
  }

  public void setRedirectUri(String redirectUri) {
    this.redirectUri = redirectUri;
  }

  /** 授权范围(Scope). */
  public String getScope() {
    return scope;
  }

  /** 授权范围(Scope). */
  public void setScope(String scope) {
    this.scope = scope;
  }

  public String getIssuer() {
    return issuer;
  }

  public void setIssuer(String issuer) {
    this.issuer = issuer;
  }

  public String getSubject() {
    return subject;
  }

  public void setSubject(String subject) {
    this.subject = subject;
  }

}
